// pages/applycodebox/applysuccess/applysuccess.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
  
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    let self = this;
    if (options.shopInfo){
      let shopInfo = JSON.parse(options.shopInfo);
      debugger;
      self.setData({
        shopInfo: shopInfo,
        word:options.word
      })
    }
  },
 
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function (res) {
    if (res.from === 'button') {
      // 来自页面内转发按钮
      console.log(res.target)
    }
    return {
      title: '申请挪车码',
      path: 'pages/applycodebox/apply/apply'
    }
  }
})